﻿using _13.代理模式.Interface;
using _13.代理模式.Services;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _13.代理模式
{
    internal class Client
    {
        public void Start()
        {
            IMath math = new MathProxy();
            math.Add(343, 334);
            math.Divide(43, 5);
            math.Divide(45, 0);
            math.Subtract(45, 5);
            math.Multiply(3, 4);
        }
    }
}
